blob: 5e71753a768ea18bd93d8ac0e792565ae8277aae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef AST_FUNCTION_H
#define AST_FUNCTION_H
#include "function.h"
class AstFunction : public Function
{
public:
AstFunction( const Bu::String &sName );
virtual ~AstFunction();
virtual Bu::String getName() const { return sName; }
virtual void call( class GameState &gState );
void addParam( const Bu::String &sName );
const Bu::StringList &getParamList() { return lParam; }
void setAst( class AstBranch *pAst );
private:
Bu::String sName;
Bu::StringList lParam;
class AstBranch *pAst;
};
#endif
|